cmake_minimum_required(VERSION 3.10)
project(LOG_SYS)

# 设置编译选项
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED True)
# set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g -O2 -Wall -Wextra")

# 添加源文件
add_executable(log_exe logger.cc)

# 添加库链接
target_link_libraries(log_exe pthread)
